package com.example.administrator.fragarmentdemotest_a.fragarment_demo.frag;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.example.administrator.fragarmentdemotest_a.R;
import com.example.administrator.fragarmentdemotest_a.utils.app.BaseFragment;


public class ContactPublicFragment extends BaseFragment {
    private int imgd = R.mipmap.dimgd;

    @Override
    protected View initView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container) {
        ImageView img=new ImageView(container.getContext());
        TextView tv = new TextView(container.getContext());
        tv.setTextSize(30);
        tv.setText("EEEEEEEEEE");
        ImageView iv = new ImageView(container.getContext());
        iv.setImageResource(imgd);
        iv.setScaleType(ImageView.ScaleType.CENTER_CROP);
        return iv;
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initListener() {

    }
}
